home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / bfd / hosts / news.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-13  |  1.7 KB  |  71 lines

  1. #include <fcntl.h>
  2. #include <errno.h>
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <ctype.h>
  7. #include <string.h>
  8. #include <sys/file.h>
  9. #ifndef O_ACCMODE
  10. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  11. #endif
  12. #define SEEK_SET 0
  13. #define SEEK_CUR 1
  14.  
  15. extern int  EXFUN(abort,(void));
  16. extern int  EXFUN(close,(int));
  17. extern int  EXFUN(fcntl,(int des, int cmd, int e));
  18. extern int  EXFUN(fprintf,(FILE *,char *,...));
  19. extern int  EXFUN(printf,(char *,...));
  20. extern int  EXFUN(qsort,(void *data,int els, int siz, int func()));
  21. extern int  EXFUN(exit,(int));
  22. extern int  EXFUN(fseek,(FILE*, int, int));
  23. extern int  EXFUN(fclose,(FILE*));
  24. extern void EXFUN(bcopy,(char*,char*,int));
  25. extern int  EXFUN(bcmp,(char *, char *, int));
  26. extern void EXFUN(bzero,(char *, int));
  27. extern void EXFUN(perror,(CONST char *));
  28. extern char *getenv();
  29. extern char * strchr();
  30. extern char *memchr();
  31. extern char *strrchr();
  32. extern int chmod();
  33. extern int fread();
  34. extern int fstat();
  35. extern int fwrite();
  36. extern int sscanf();
  37. extern int stat();
  38. extern int strtol();
  39. void free();
  40. char *malloc();
  41. char *realloc();
  42. extern char *strrchr();
  43. extern char *ctime();
  44. extern int _flsbuf();
  45. extern int fclose();
  46. extern int time();
  47. extern int utimes();
  48. extern int vfprintf();
  49. extern long atol();
  50. extern char *getenv();
  51. extern int fputc();
  52. extern int unlink();
  53.  
  54.  
  55. /* EXACT TYPES */
  56. typedef char int8e_type;
  57. typedef unsigned char uint8e_type;
  58. typedef short int16e_type;
  59. typedef unsigned short uint16e_type;
  60. typedef int int32e_type;
  61. typedef unsigned int uint32e_type;
  62.  
  63. /* CORRECT SIZE OR GREATER */
  64. typedef char int8_type;
  65. typedef unsigned char uint8_type;
  66. typedef short int16_type;
  67. typedef unsigned short uint16_type;
  68. typedef int int32_type;
  69. typedef unsigned int uint32_type;
  70. #include "fopen-same.h"
  71.